Access From Client to Lion Server Based FcSvr Broken
Hi,
Recently upgraded by iMac to Lion followed by my MacMini Server. When I upgraded the client machine I tested to make
sure that it would still access FcSvr on the Macmini Server....it worked ok. Then I upgraded the Server itself. Now I get the
following screen dump from within Safari when I type in the http://hostname/FinalCutServer client ask. Any idea whats wrong ?
Thanks in Advance,
Graham
<?php
require_once("config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Welcome to <?php echo PRODUCT_NAME ?></title>
<script language="JavaScript" type="text/javascript">
function userAgentContains(string)
{
return navigator && navigator.userAgent && navigator.userAgent.indexOf(string) >= 0;
}
function isJavaWebStartInstalled(versionString)
{
if (navigator && navigator.mimeTypes && navigator.mimeTypes.length > 0)
{
// Some browsers don't have the jnlp mime type registered explicitly,
// but JWS was included with the JRE starting with 1.4.
if (navigator.mimeTypes['application/x-java-jnlp-file'] ||
navigator.mimeTypes['application/x-java-applet;version=1.4'])
{
return true;
}
else if (userAgentContains('Safari') && userAgentContains('Windows'))
{
// Safari for Windows doesn't support the Java plugins (it bundles its own),
// so just check if Java is installed.
return navigator.mimeTypes['application/x-java-applet'];
}
else if (userAgentContains('Opera'))
{
// Opera doesn't support the Java plugins (it uses the JRE directly on some OS's),
// so assume it is (a generally valid assumption for Opera users).
return true;
}
return false;
}
else if (userAgentContains('MSIE') && userAgentContains('Win'))
{
// Internet Explorer for Windows
try
{
var test = new ActiveXObject('JavaWebStart.isInstalled');
return true;
}
catch (exception)
{
return false;
}
}
else
{
// Assume Java is installed for browsers that don't implement navigator.mimeTypes
return true;
}
}
var loaded = false;
function onFramesetLoad()
{
if (loaded)
{
return;
}
loaded = true;
if (isJavaWebStartInstalled())
{
self.main.location.href = '<?php echo PRODUCT_WEBSTART ?>/content.php<?php echo $arguments ?>';
}
else if (userAgentContains('MSIE') && userAgentContains('Win') && !userAgentContains('Opera')) // Opera pretends that it is MSIE
{
self.main.location.href = '<?php echo PRODUCT_WEBSTART ?>/activexJavaDownload.php<?php echo $arguments ?>';
}
else
{
self.main.location.href = '<?php echo PRODUCT_WEBSTART ?>/standardJavaDownload.php<?php echo $arguments ?>';
}
}
</script>
</head>
<frameset rows="100%,0%" border="0" framespacing="0">
<frame src="<?php echo PRODUCT_WEBSTART ?>/noscript.php" name="main" noresize="noresize" frameborder="0" onload="onFramesetLoad()" />
<frame src="" name="webstart" noresize="noresize" frameborder="0" />
</frameset>
</html>